package com.go.where.manager.common;

import com.go.where.manager.util.CommonUtil;

public class Constants {
	public static final String SUCCESS = "000000";
	public static final String NOT_LOCALE_RECHARGE = "990099";
	public static final String RANDOM_CODE = "fdsafdsfdsfdsfd";
	public static final String COOKIE_NAME_RANDOMCODE = "COOKIE_NAME.fdasfdsafdsafdafdf";
	public static final String COOKIE_NAME_USERINFO = "COOKIE_NAME.COOKIE_NAMEffffffffffffffff";
	public static final int INIT_PAGESIZE = 10;
	public static final int INIT_CURRENTPAGE = 1;
	public static final int INIT_START = 1;
	// cookie的用戶登錄編號SESSION_ID
	public static final String SESSION_ID = "SESSIONID";
	// 菜单保存到memcached的前缀
	public static final String MENU_MEM_TIP = "Constants.MENU_MEM_TIP";

	public static final String LOCK_USER = "lock";
	public static final String UPDATE_LOCK = "3";
	public static final String UPDATE_UNLOCK = "0";
	public static final String SYSTEM_PRODUCT = "system_product";

	public static final String MENU1 = "menuLv1";
	public static final String MENU2 = "menuLv2";
	public static final String MENU3 = "menuLv3";

	public static final String NOT_DELETED = "1";// 未删除
	public static final String DELETED = "0";// 已删除

	public static final String ONLINE = "1";// 正常在线
	public static final String OFFLINE = "2";// 正常离线
	public static final String LOCK = "0";// 锁定

	public static final String ALL_USERS = "1";// 全体用户
	public static final String PERSONAL_USERS = "0";// 个人用户
	public static final String INVITATION_USERS = "2";// 邀请码用户

	public static final String PIC_HOT = "1";// 热门
	public static final String PIC_COMMON = "2";// 普通

	public static final String UTF8_CODING = "UTF-8";

	public static final String JSON_OUTPUT = "json";

	public static final String REPORT_SUCCESS = "1";

	public static final String REPORT_FAILED = "0";

	/**
	 * 消息类型，系统信息
	 */
	public static final int MESSAGE_TYPE_SYSTEM_MESSAGE = 3;


	/**
	 * 认证成功
	 */
	public static final String AUTH_SUCCESS = "1";

	/**
	 * 认证失败
	 */
	public static final String AUTH_FAILED = "0";

	/**
	 * 认证取消
	 */
	public static final String AUTH_CANCEL = "2";

	/**
	 * 未审核
	 */
	public static final String NOT_APPLYED = "1";

	/**
	 * 未通过
	 */
	public static final String NOT_PASSED = "2";

	/**
	 * 已通过
	 */
	public static final String PASSED = "3";

	/**
	 * 取消
	 */
	public static final String CANCEL = "4";

	public static final String TOPED = "1";

	public static final String CANCEL_TOP = "0";


	/**
	 * 图片压缩后的路径
	 */
	public static final String ZOOM_PATH = CommonUtil.FILE_SEPARATOR + "zoom";

	/**
	 * 回顾内容图片存放路径
	 */
	public static final String RETROSPECT_IMAGES = "retrospect"
			+ CommonUtil.FILE_SEPARATOR;
	
	/**
	 * 活动内容
	 */
	public static final String ACTIVITY_CONTENT_PATH = "activity"
		+ CommonUtil.FILE_SEPARATOR;

	/**
	 * 课题内容图片存放路径
	 */
	public static final String TOPIC_IMAGES = "topic"
			+ CommonUtil.FILE_SEPARATOR;

	/**
	 * 专栏内容图片存放路径
	 */
	public static final String COLUMN_IMAGES = "column"
			+ CommonUtil.FILE_SEPARATOR;

	/**
	 * 项目众筹内容图片存放路径
	 */
	public static final String CROWD_IMAGES = "crowd"
			+ CommonUtil.FILE_SEPARATOR;

	/**
	 * 商品图片存放路径
	 */
	public static final String GOODS_IMAGES = "images"
			+ CommonUtil.FILE_SEPARATOR + "goodsImages";

	/**
	 * banner条图片存放路径
	 */
	public static final String BANNER_IMAGES = "images"
			+ CommonUtil.FILE_SEPARATOR + "bannerImages";

	/**
	 * 商户图片存放路径
	 */
	public static final String MERCHANT_IMAGES = "images"
			+ CommonUtil.FILE_SEPARATOR + "merchantImages";

	/**
	 * 锁屏图片存放路径
	 */
	public static final String STAR_IMAGES = "images"
			+ CommonUtil.FILE_SEPARATOR + "starImages";

	/**
	 * 课题预览图存放路径
	 */
	public static final String TOPIC_PREVIEW_IMAGES = "images"
			+ CommonUtil.FILE_SEPARATOR + "topic" + CommonUtil.FILE_SEPARATOR
			+ "preview";
	/**
	 * 课题预主图存放路径
	 */
	public static final String TOPIC_MAIN_IMAGES = "images"
			+ CommonUtil.FILE_SEPARATOR + "topic" + CommonUtil.FILE_SEPARATOR
			+ "main";

	/**
	 * 活动报名页大图
	 */
	public static final String ACTIVITY_SIGNUP_IMAGES = "images"
			+ CommonUtil.FILE_SEPARATOR + "activity"
			+ CommonUtil.FILE_SEPARATOR + "signup";
	/**
	 * 活动预览图
	 */
	public static final String ACTIVITY_PREVIEW_IMAGES = "images"
			+ CommonUtil.FILE_SEPARATOR + "activity"
			+ CommonUtil.FILE_SEPARATOR + "preview";

	/**
	 * 翠花专栏封面存放路径
	 */
	public static final String COLUMN_COVER_IMAGES = "images"
			+ CommonUtil.FILE_SEPARATOR + "column" + CommonUtil.FILE_SEPARATOR
			+ "cover";
	/**
	 * 相册封面存放路径
	 */
	public static final String ALBUM_COVER_IMAGES = "images"
			+ CommonUtil.FILE_SEPARATOR + "album" + CommonUtil.FILE_SEPARATOR
			+ "cover";

	
	/**
	 * 视频封面存放路径
	 */
	public static final String VIDEO_COVER_IMAGES = "images"
			+ CommonUtil.FILE_SEPARATOR + "video" + CommonUtil.FILE_SEPARATOR
			+ "cover";
	
	/**
	 * 大类图标存放路径
	 */
	public static final String BIG_CLASS_ICON_IMAGES = "images"
			+ CommonUtil.FILE_SEPARATOR + "icon" + CommonUtil.FILE_SEPARATOR
			+ "big";
	
	/**
	 * 小类图标存放路径
	 */
	public static final String SMALL_CLASS_ICON_IMAGES = "images"
			+ CommonUtil.FILE_SEPARATOR + "icon" + CommonUtil.FILE_SEPARATOR
			+ "small";
	
	
	/**
	 * 教师头像存放路径
	 */
	public static final String TEACHER_HEADER_IMAGES = "images"
			+ CommonUtil.FILE_SEPARATOR + "teacher" + CommonUtil.FILE_SEPARATOR
			+ "header";
	
	
	public static final String COURSE_PHOTO_IMAGES = "images"
		+ CommonUtil.FILE_SEPARATOR + "course" + CommonUtil.FILE_SEPARATOR
		+ "photo";
	
	/**
	 * html文件存放路径
	 */
	public static final String MATERIAL_HTML = "html"
			+ CommonUtil.FILE_SEPARATOR;

	public static final String PROJECT_NAME = "/gowhere";

	/**
	 * 图片默认压缩宽度
	 */
	public static final int OUTPUT_WIDTH = 640;

	public static final int OUTPUT_WIDTH_HTML = 600;

	/**
	 * 图片默认压缩高度
	 */
	public static final int OUTPUT_HEIGHT = 590;

	public static final int OUTPUT_HEIGHT_HTML = 450;

	/**
	 * 个推离线消息保存时间（一周）
	 */
	public static final long MESSAGE_OFFLINE_EXPIRE_TIME = 7 * 24 * 60 * 60
			* 1000;


}
